<?
session_start();
error_reporting(E_ALL);
date_default_timezone_set("Asia/Bangkok");
define('PATH_ROOT',$_SERVER['DOCUMENT_ROOT']);
define('PATH_APP',PATH_ROOT.'/appkaraoke');
require_once("../../../function/database.php");
require_once("../../../function/date_functions.php");
require_once("../../../function/file_functions.php");
require_once("../../../function/functions.php");
require_once("../../../function/html_cleanup.php");
require_once("../../../function/pagebreak.php");
require_once("../../../function/resize_image.php");
require_once("../../../function/upload.php");
require_once("../../../cms/model/mod_config.php");

$admin_id 				= getValue("user_id","int","SESSION");
$isAdmin 				= getValue("isAdmin","int","SESSION");

$meta_title          = 'Quản trị web';
$js_global           = '';
$css_global          = '';
$root_theme          = '../../';
$css_global  .= '<link href="'.$root_theme.'theme/css/bootstrap.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/bootstrap.min.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/edu.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/uniform.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/jquery-ui.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/token-input.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="'.$root_theme.'theme/css/token-input-facebook.css" rel="stylesheet" type="text/css">';

//$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/jquery.min.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/jquery.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/jquery-1.9.1.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/actions.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/check-all.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/js-function.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/uniform.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/jquery-ui.js"></script>';
$js_global   .= '<script language="javascript" src="'.$root_theme.'theme/js/jquery.tokeninput.js"></script>';
$js_global   .= '<script language="javascript" src="../../../lib/ckeditor/ckeditor.js"></script>';

?>